Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.dam.contentviews--layouts

This contribution is part of XML component org.nuxeo.dam.contentviews inside nuxeo-dam-jsf-5.8.jar

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="dam_search_layout">
          <templates>
            <template mode="any">
              /layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>dam_text_search</widget>
            </row>
            <row>
              <widget>dam_tags_search</widget>
            </row>
            <row>
              <widget>dam_date_search</widget>
            </row>
            <row>
              <widget>dam_user_search</widget>
            </row>
            <row>
              <widget>dam_categorization_search</widget>
            </row>
            <row>
              <widget>dam_location_search</widget>
            </row>
          </rows>
        </layout>
  • <layout name="dam_listing_ajax">
          <templates>
            <template mode="any">
              /dam/layouts/dam_layout_listing_ajax_template.xhtml
            </template>
          </templates>
          <properties mode="any">
            <property name="showListingHeader">true</property>
            <property name="showRowEvenOddClass">true</property>
            <property name="display">table</property>
          </properties>
          <columns>
            <column>
              <properties mode="any">
                <property name="isListingSelectionBox">true</property>
                <property name="useFirstWidgetLabelAsColumnHeader">false</property>
                <property name="columnStyleClass">iconColumn</property>
              </properties>
              <properties mode="csv">
                <property name="isHidden">true</property>
              </properties>
              <properties mode="pdf">
                <property name="isHidden">true</property>
              </properties>
              <widget>listing_ajax_selection_box</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">false</property>
                <property name="columnStyleClass">iconColumn</property>
              </properties>
              <widget>listing_icon_type</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">dc:title</property>
              </properties>
              <widget>dam_listing_title</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="columnStyleClass">iconColumn</property>
              </properties>
              <properties mode="csv">
                <property name="isHidden">true</property>
              </properties>
              <widget>listing_lock_icon</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">dc:modified</property>
              </properties>
              <widget>listing_modification_date</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="useFirstWidgetLabelAsColumnHeader">true</property>
                <property name="sortPropertyName">dc:lastContributor</property>
              </properties>
              <widget>listing_last_contributor</widget>
            </column>
          </columns>
        </layout>
  • <layout name="dam_box_listing_ajax">
          <templates>
            <template mode="any">
              /dam/layouts/dam_layout_box_listing_ajax_template.xhtml
            </template>
          </templates>
          <properties mode="any">
            <property name="display">block</property>
          </properties>
          <columns>
            <column>
              <widget>dam_listing_thumbnail</widget>
            </column>
            <column>
              <properties mode="any">
                <property name="isBoxTitle">true</property>
              </properties>
              <widget>dam_listing_selection</widget>
            </column>
            <column>
              <widget>dam_listing_metadata</widget>
            </column>
            <column>
              <widget>dam_listing_size_and_format</widget>
            </column>
          </columns>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="dam_search_layout">
      <templates>
        <template mode="any">
          /layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>dam_text_search</widget>
        </row>
        <row>
          <widget>dam_tags_search</widget>
        </row>
        <row>
          <widget>dam_date_search</widget>
        </row>
        <row>
          <widget>dam_user_search</widget>
        </row>
        <row>
          <widget>dam_categorization_search</widget>
        </row>
        <row>
          <widget>dam_location_search</widget>
        </row>
      </rows>
    </layout>

    <layout name="dam_listing_ajax">
      <templates>
        <template mode="any">
          /dam/layouts/dam_layout_listing_ajax_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="showListingHeader">true</property>
        <property name="showRowEvenOddClass">true</property>
        <property name="display">table</property>
      </properties>
      <columns>
        <column>
          <properties mode="any">
            <property name="isListingSelectionBox">true</property>
            <property name="useFirstWidgetLabelAsColumnHeader">false</property>
            <property name="columnStyleClass">iconColumn</property>
          </properties>
          <properties mode="csv">
            <property name="isHidden">true</property>
          </properties>
          <properties mode="pdf">
            <property name="isHidden">true</property>
          </properties>
          <widget>listing_ajax_selection_box</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">false</property>
            <property name="columnStyleClass">iconColumn</property>
          </properties>
          <widget>listing_icon_type</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:title</property>
          </properties>
          <widget>dam_listing_title</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="columnStyleClass">iconColumn</property>
          </properties>
          <properties mode="csv">
            <property name="isHidden">true</property>
          </properties>
          <widget>listing_lock_icon</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:modified</property>
          </properties>
          <widget>listing_modification_date</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:lastContributor</property>
          </properties>
          <widget>listing_last_contributor</widget>
        </column>
      </columns>
    </layout>

    <layout name="dam_box_listing_ajax">
      <templates>
        <template mode="any">
          /dam/layouts/dam_layout_box_listing_ajax_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="display">block</property>
      </properties>
      <columns>
        <column>
          <widget>dam_listing_thumbnail</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="isBoxTitle">true</property>
          </properties>
          <widget>dam_listing_selection</widget>
        </column>
        <column>
          <widget>dam_listing_metadata</widget>
        </column>
        <column>
          <widget>dam_listing_size_and_format</widget>
        </column>
      </columns>
    </layout>

  </extension>